package com.situ.allaia.service;

import com.situ.allaia.model.Category;

import java.util.Collection;
import java.util.List;

public interface CategoryService {
    List<Category> findAll();

    Category findById(Integer id);

    boolean save(Category category);
    boolean update(Category category);

    int deleteByIds(Collection<Integer> ids);

    int deleteById(Integer id);
}
